package com.example.bob;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("com.example.bob.dao") //mapper扫描！次包下的所有类都是mapper类！
public class BobApplication {

    public static void main(String[] args) {
        SpringApplication.run(BobApplication.class, args);
    }
}
